<script setup>

import {ref} from "vue";
const info = ref('我是info6666');
const f = ()=> {
  console.log(info.value);
  info.value = '这是新';
}
  const count = ref(0);
  const f2 = ()=>{
    console.value++;
  }
  const x = ref('今天是星期三，今天晚上有<mark>流星雨</mark>')

</script>

<template>
<h1>我们的第一个Vur组件Component - 文本指令</h1>
  <p v-text="info"></p>
  <h3>{{info}}</h3>
  <h4>{{info}}</h4>
  {{info}}
  <hr>
  <p>{{count}}</p>
  <button @click="f2">点击</button>
  <hr>
  <p>{{x}}</p>
  <p v-text="x"></p>
  <p v-html="x"></p>
</template>

<style scoped>

</style>